/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: GodK
 * Date: 2024-05-07
 * Time: 12:48
 */
public class Test {
    public static void main(String[] args) {
        int[] arr = {30,20,60,90,180,40};
        AVLTree avlTree = new AVLTree();
        for(int i : arr){
            avlTree.insert(i);
        }
        System.out.println(avlTree.isBalanced(avlTree.root));
    }
}
